package vn.vnu.uet.email;

import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.Session;
import javax.mail.Store;

import vn.vnu.uet.email.R;
import vn.vnu.uet.email.bean.User;

public class Token {
	public static Token token = new Token();
	public User user;
	public static String role;
	public Message[] messages;
	public Session session;
	public String host;
	public String mailStoreType ;
	public Folder folder;
	public Store store;

	public static Token instance() {
		if (token == null)
			token = new Token();
		return token;
	}

	public static void clear() {

		token = null;
	}
	
	private Token(){
	}
}
